package org.mat.ipaas.ucenter.service.api.system;

import org.mat.framework.lang.dto.MatApiResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;

/**
 * minio文件上传示例
 */
@FeignClient(name = "mat-ipaas-ucenter-service",contextId = "sys-upload-rest-api")
public interface SysUploadRestAPI {

    /**
     * 上传
     * 
     */
    @PostMapping(value = "/sys/upload/uploadMinio")
    MatApiResponse<?> uploadMinio(@RequestParam HttpServletRequest request) throws Exception;
}
